package com.example.weibo_app.mapper;


import com.example.weibo_app.domain.Favorite;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface FavoriteMapper {

    // 添加收藏
    int insertFavorite(Favorite favorite);

    // 删除收藏
    int deleteFavorite(Favorite favorite);
}
